import { downLoad, request } from '../../../request';

export function getTableData(params: any) {
  const url = `/mes/agv/plan/rhythm/rate/list`;
  return request({
    url,
    params
  });
}

export function downloadExcel(params: any, fileName: string) {
  return downLoad({
    url: '/mes/agv/plan/rhythm/rate/export',
    method: 'GET',
    params,
    fileName
  });
}
